package com.example.lianguisystem.mapperLianGui;

import com.example.lianguisystem.entity.LianGuiLabelStatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LabelStatusMapper {

    Integer insertIntoLabelStatus(@Param("data") LianGuiLabelStatus lianGuiLabelStatus);
    Integer insertIntoLabelStatusOfList(@Param("list") List<LianGuiLabelStatus> lianGuiLabelStatus);

    Integer deleteStatus(@Param("data") LianGuiLabelStatus lianGuiLabelStatus);

    LianGuiLabelStatus selectLabelStatusOfNotGet(@Param("labelId") String labelId);
    List<LianGuiLabelStatus> selectLabelStatusOfNotGetList(@Param("list") List<String> list);

    List<LianGuiLabelStatus> selectLabelStatusOfBaoGong(@Param("username") String username, @Param("date") String date);


    LianGuiLabelStatus selectRecordByIdAndStatus(@Param("labelId") String labelId,@Param("status") Integer staus);


}
